<?php


namespace App\Dao;


use App\Model\CertificationLog;

class CertificationLogDao extends AbstractDao
{
    public function where(array $where): \Hyperf\Database\Model\Builder
    {
        $query = CertificationLog::query();
        foreach ($where as $key => $value) {
            $query->where($key, $value);
        }
        return $query;
    }

}